<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>超市账单管理系统</title>
    <link rel="stylesheet" href="css/public.css"/>
    <link rel="stylesheet" href="css/style.css"/>
    <link rel="stylesheet" href="layui/css/layui.css"/>
</head>
<body>
<!--头部-->
<header class="publicHeader">
    <h1>超市账单管理系统</h1>

    <div class="publicHeaderR">
        <p><span>下午好！</span><span style="color: #fff21b"> Admin</span> , 欢迎你！</p>
        <a href="login.html">退出</a>
    </div>
</header>
<!--时间-->
<section class="publicTime">
    <span id="time">2015年1月1日 11:11  星期一</span>
    <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
</section>
<!--主体内容-->
<section class="publicMian ">
    <div class="left">
        <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
        <nav>
            <ul class="list">
                <li><a href="billList.html">账单管理</a></li>
                <li ><a href="providerList.html">供应商管理</a></li>
                <li id="active"><a href="userList.html">用户管理</a></li>
                <li><a href="password.html">密码修改</a></li>
                <li><a href="login.html">退出系统</a></li>
            </ul>
        </nav>
    </div>
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>用户管理页面 >> 用户信息查看页面</span>
        </div>
        <div class="providerView">
            <form class="layui-form" action="" lay-filter="example">
			  <div class="layui-form-item">
			    <label class="layui-form-label">姓名</label>
			    <div class="layui-input-inline">
			      <input type="text" name="title" lay-verify="title" 
			      		autocomplete="off" placeholder="请输入标题" class="layui-input">
			    </div>
  			  </div>
  			  <div class="layui-form-item">
			    <label class="layui-form-label">姓名</label>
			    <div class="layui-input-inline">
			      <input type="text" name="userName" lay-verify="title" 
			      		autocomplete="off" placeholder="请输入姓名" class="layui-input">
			    </div>
  			  </div>
  			  <div class="layui-form-item">
			    <label class="layui-form-label">用户编码</label>
			    <div class="layui-input-inline">
			      <input type="text" name="userCode" lay-verify="title" 
			      		autocomplete="off" placeholder="请输入用户编码" class="layui-input">
			    </div>
  			  </div>
  			  <div class="layui-form-item">
			    <label class="layui-form-label">地址</label>
			    <div class="layui-input-inline">
			      <input type="text" name="address" lay-verify="title" 
			      		autocomplete="off" placeholder="请输入地址" class="layui-input">
			    </div>
  			  </div>
  			  <div class="layui-form-item">
			    <label class="layui-form-label">手机号</label>
			    <div class="layui-input-inline">
			      <input type="text" name="phone" lay-verify="title" 
			      		autocomplete="off" placeholder="请输入手机号" class="layui-input">
			    </div>
  			  </div>
  			</form>
            <a href="userList.html">返回</a>
        </div>
    </div>
</section>
<footer class="footer">
    版权归北大青鸟
</footer>
<script src="js/jquery-1.8.3.min.js"></script>
<script src="js/time.js"></script>
<script src="layui/layui.js"></script>
</body>
<script type="text/javascript">
	function GetQueryString(name){
	     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
	     var r = window.location.search.substr(1).match(reg);
	     if(r!=null)return  unescape(r[2]); return null;
	}
</script>
<script type="text/javascript">
	alert(GetQueryString("id"));
	//发送ajax，获取json数据
	String json = "xxxxxx";
	
	//表单赋值
 /*  layui.use(['form'],function(){
  	var form = layui.form;
    form.val('example', {
      "username": "贤心" // "name": "value"
      ,"password": "123456"
      ,"interest": 1
      ,"like[write]": true //复选框选中状态
      ,"close": true //开关状态
      ,"sex": "女"
      ,"desc": "我爱 layui"
    });
  }); */
  
   //表单取值
  /* layui.$('#LAY-component-form-getval').on('click', function(){
    var data = form.val('example');
    alert(JSON.stringify(data));
  }); */
</script>
<script>
layui.use(['form'], function(){
  var form = layui.form;
  });
</script>
</html>